package com.lzy.libreoffice.autoconfiguration.service;

/**
 * description: LibreofficeService (Libreoffice管理)<br>
 * date: 2022-9-28 23:26 <br>
 * author: lcc <br>
 * version: 1.0 <br>
 */
public interface LibreofficeService {
    /**
     * 启动Libreoffice
     * @throws Exception
     */
    public void startLibreOffice(String path,String port);

    /**
     * 转换office为pdf
     * @param sourceFile
     * @param destFile
     * @return
     */
    public void office2Pdf(String sourceFile, String destFile) throws Exception;
}
